package cn.com.freelibra.forum.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.Page;

import cn.com.freelibra.forum.po.JobSetting;

public interface JobSettingService {
	
	JobSetting load(Integer id);
	
	public List<JobSetting> getAllSetting();
	
	public List<JobSetting> byStatus(Integer loadRunning);
	
	public int saveSetting(JobSetting jobSetting);

	public Page<Map<String, Object>> selectJobSettingList(String keyword,Integer pageNumber,Integer pageSize);

	void updateJobSetting(JobSetting jobSetting);
	
	boolean deleteJobSetting(JobSetting jobSetting);
}
